Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Render Stellar Events as JSON Instead of Rust Debug Format and Update WASM Path #1642

Conversation

juandiegocv27
Copy link

What

This PR modifies the Stellar events output to render as JSON instead of using the Rust debug format. Additionally, it updates the path in boilerplate.rs for including the WASM file.

Why

The change is being made because developers are more familiar with the JSON format, which provides a standardized way of viewing event data. It aligns with Render events as json in stellar events pretty output instead of as rust debug issue, aiming to improve the readability and usability of the event logs for developers.

@juandiegocv27
Copy link
Author

juandiegocv27 commented Oct 2, 2024

ready for review: @leighmcculloch, please tell me if there a telegram group instead of the discord for more fluent conversation about this issue please

Copy link
Member

@leighmcculloch leighmcculloch left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hi @juandiegocv27, thanks for contributing.

See my comments inline.

cmd/soroban-cli/src/log/event.rs Outdated Show resolved Hide resolved
@juandiegocv27
Copy link
Author

Hi @juandiegocv27, thanks for contributing.

See my comments inline.

thank you for the feedback, I'll fix the issues 🫡

@juandiegocv27
Copy link
Author

juandiegocv27 commented Oct 6, 2024

@leighmcculloch @fnando @graydon made the changes and implement some new code, please review and let me know, and sorry for the delay

@juandiegocv27
Copy link
Author

tell what to fix to do solve the problem as fast as possible or if its ready to merge

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

Render events as json in stellar events pretty output instead of as rust debug
2 participants